From: Paul Eggert Date: Tue, 22 Mar 2011 07:48:10 +0000 (-0700) Subject: * scroll.c (do_scrolling): Work around GCC bug 48228. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~4324^2~9 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=525fc6b82dba1399622253e8420312d9de76d9f3;p=emacs.git * scroll.c (do_scrolling): Work around GCC bug 48228. See . --- diff --git a/src/ChangeLog b/src/ChangeLog index e4069516e53..79d03bc4217 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2011-03-22 Paul Eggert + + * scroll.c (do_scrolling): Work around GCC bug 48228. + See . + 2011-03-21 Paul Eggert * frame.c (Fmodify_frame_parameters): Simplify loop counter. diff --git a/src/scroll.c b/src/scroll.c index 33af18d2090..f013ebbee0e 100644 --- a/src/scroll.c +++ b/src/scroll.c @@ -245,8 +245,8 @@ do_scrolling (struct frame *frame, struct glyph_matrix *current_matrix, struct m int i, j, k; /* Set to 1 if we have set a terminal window with - set_terminal_window. */ - int terminal_window_p = 0; + set_terminal_window. It's unsigned to work around GCC bug 48228. */ + unsigned int terminal_window_p = 0; /* A queue for line insertions to be done. */ struct queue { int count, pos; };